//
//  MPTPasterManager.h
//  MPTCapture
//
//  Created by Jeakin on 7/29/15.
//  Copyright © 2015 Jeakin. All rights reserved.
//

#import "YXVideoPasterObject.h"

@interface YXVideoPasterBuilder : NSObject

@property (nonatomic,readonly) NSMutableArray *pasters;
@property (nonatomic,readonly) CGFloat        duration;


- (instancetype)initWithDuration:(CGFloat)duration videoSize:(CGSize)videoSize;

- (void)addPaster:(YXVideoPasterObject *)object;

- (void)removePaster:(YXVideoPasterObject *)object;

- (void)insertObject:(YXVideoPasterObject *)object inPastersAtIndex:(NSUInteger)index;

- (void)removeAllPasters;

- (CALayer *)buildAllPasterLayer;

- (CALayer *)buildPasterLayer:(YXVideoPasterObject *)object;

@end
